#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QListView>

class Machine;

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT

private:
    static const quint32 BEGIN_ADDRESS;

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
    Machine* machine;

private slots:
    void on_actionSet_PC_triggered();
    void on_actionStep_Out_triggered();
    void on_actionStep_Into_triggered();
    void on_actionStep_Over_triggered();
    void on_actionStop_triggered();
    void on_actionRun_triggered();
    void on_actionLoad_Program_triggered();
};

#endif // MAINWINDOW_H
